import request from '@/utils/request'

export function wareOrderTaskList(params) {
  return request({
    url: '/ware/wareordertask/list',
    method: 'get',
    params
  })
}

export function getWareOrderTask(id) {
  return request({
    url: `/ware/wareordertask/info/${id}`,
    method: 'get',
  })
}

export function saveWareOrderTask(data) {
  return request({
    url: '/ware/wareordertask/save',
    method: 'post',
    data
  })
}

export function updateWareOrderTask(data) {
  return request({
    url: '/coupon/wareordertask/info/update',
    method: 'post',
    data
  })
}

export function deleteWareOrderTask(ids) {
  return request({
    url: '/ware/wareordertask/delete',
    method: 'post',
    data: ids
  })
}

